﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace WebNet.Configuration
{
    public class WebNetCountryConfigurationElement : ConfigurationElement
    {
        [ConfigurationProperty("countryCode", IsRequired = true)]
        public string CountryCode
        {
            get { return (string)this["countryCode"]; }
            set { this["countryCode"] = value; }
        }

        [ConfigurationProperty("enableBotDetection", IsRequired = true)]
        public bool EnableBotDetection
        {
            get { return (bool)this["enableBotDetection"]; }
            set { this["enableBotDetection"] = value; }
        }
    }
}
